package com.qt.utils;

import com.qt.shiro.UserProfile;
import org.apache.shiro.SecurityUtils;




public class ShiroUtils {

    private ShiroUtils() {
    }

    public static UserProfile getProfile(){
        return (UserProfile) SecurityUtils.getSubject().getPrincipal();
    }

}